import { Module } from '@nestjs/common';
import { UserService } from './user.service';
import { UserController } from './user.controller';
import { User } from './entities/user.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthModule } from '../sys/auth/auth.module';
import { RedisModule } from '../shared/redis/redis.module';
import { EmailModule } from '../shared/email/email.module';
import { MinioModule } from '../shared/minio/minio.module';
import { DictService } from '../sys/dict/dict.service';
@Module({
  imports: [
    TypeOrmModule.forFeature([User]),
    AuthModule,
    RedisModule,
    EmailModule,
    MinioModule,
  ],
  providers: [UserService, DictService],
  controllers: [UserController],
  exports: [UserService],
})
export class UserModule {}
